home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / dev / mui / MCC_CompactWin.lha / MCC_CompactWindow / Install < prev    next >
Text File  |  1999-01-10  |  1KB  |  53 lines

  1. ;
  2. ; manual installation:
  3. ; - copy libs/compactwindow.mcc MUI:Libs/mui
  4. ; - copy images/hvdragbar.image SYS:Classes/Images
  5. ;
  6.  
  7. (set @default-dest "MUI:Libs/mui")
  8.  
  9. (copylib
  10.     (prompt "Installing CompactWindow MUI Class")
  11.     (confirm)
  12.     (source "libs/CompactWindow.mcc")
  13.     (dest "MUI:Libs/MUI")
  14.     (help @copylib-help)
  15. )
  16.  
  17. (copylib
  18.     (prompt "Installing CompactWindow MUI Preferences")
  19.     (confirm)
  20.     (source "libs/CompactWindow.mcp")
  21.     (dest "MUI:Libs/MUI")
  22.     (help @copylib-help)
  23. )
  24.  
  25. (set #imagedest 
  26.     (select
  27.         (= 2 (exists "sys:Classes" (noreq)))
  28.         "Libs:Images"
  29.         "Sys:Classes/Images"
  30.     )
  31. )
  32.  
  33. (if (<> 2 (exists #imagedest (noreq))) 
  34.     (makedir #imagedest (confirm)
  35.        (help "Your system doesn't contain a directory for images."))
  36. )
  37.  
  38. (copylib
  39.     (prompt "Installing hvdragbar.image")
  40.     (confirm)
  41.     (source "Images/hvdragbar.image")
  42.     (dest #imagedest)
  43.     (help @copylib-help)
  44. )
  45.  
  46. (if (askbool (prompt "Do you want to start the demo now?")
  47.        (help "The demo is not needed for anything, just for your pleasure!")
  48.        (default 1))
  49.     (run "run demo/CompactWindowDemo")
  50. )
  51.  
  52. (message "This script doesn't copy the demo program. If you think you will need it in the future, please install it by yourself.")
  53.